package javase_class_250907;

/**
 * ClassName: MainTest
 * Package: javase_class_250907
 * Description:
 *
 * @Author harkjeans
 * @Create 2025/9/7 11:58
 * @Version 1.0
 */
public class MainTest {
    public static void main(String[] args) {
        String[] arr = new String[]{"aa", "bb", "cc"};
        Main.main(arr);
    }
}

class Main{
    public static void main(String[] args) {//看作是普通的静态方法
        System.out.println("Main的main()调用");
        for (int i = 0; i < args.length; i++) {
            System.out.println(args[i]);
        }


    }
}
